package com.gitee.wsl.mvi

import com.gitee.wsl.struct.event.EventManager
import com.gitee.wsl.struct.event.EventsHandler
import com.gitee.wsl.struct.event.EventsHandlerImp

abstract class EventHandlerViewModel<A : Action, S : State, E : Effect>() : BaseViewModel<A,S,E>(),EventManager {

    override val eventHandler: EventsHandler=EventsHandlerImp()

    /*override fun onAction(action: A, currentState: S?) {
        eventHandler.fireEvent<Action>(action)
    }*/
}